//app.js
App({
  globalData: {
    userInfo: null
  },
  onLaunch(options) {
    this.globalData.options = options;
  },
  
  onShow: function (options){
    this.globalData.extraData = options.referrerInfo.extraData;
  },

  alert: function (content) {
    wx.showModal({
      title: '提示',
      content: content,
      showCancel: false,
       
    })
  },
})